package com.beep.erp.model.home;

import com.beep.erp.common.base.BasePresenter;
import com.beep.erp.common.base.BaseView;
import com.beep.erp.common.bean.BizGoodsListBean;
import com.beep.erp.common.bean.ClassifyBean;
import com.beep.erp.common.bean.StockInDetailBean;

import rx.Observable;

/**
 * Created by jolly on 2018/9/2.
 */

public interface HomeContract {
    interface Model {
        Observable<BizGoodsListBean> getBizGoods(String sign, String timeStamp, int pageSize, int pageNo, String classify, String searchKey);

        Observable<ClassifyBean> getGoodsClassify(String sign, String timeStamp, String type);
    }

    interface View extends BaseView {
        void getDate();

        void getBizGoods(BizGoodsListBean bizGoodsListBean);

        void getGoodsClassify(ClassifyBean classifyBean);

    }

    abstract class Presenter extends BasePresenter<Model, View> {
        public abstract void getBizGoods(String sign, String timeStamp, int pageSize, int pageNo, String classify, String searchKey);

        public abstract void getGoodsClassify(String sign, String timeStamp, String type);

    }
}
